package com.kgc.ssm.entity.dto;

public class SearchParam {
    private Integer pageNum;
    private Integer pageSize;
    private String materialCode;
    private String materialName;
    //每页显示个数
    private int number;
    private String status;

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getMaterialCode() {
        return materialCode;
    }

    public void setMaterialCode(String materialCode) {
        this.materialCode = materialCode;
    }

    public String getMaterialName() {
        return materialName;
    }

    public void setMaterialName(String materialName) {
        this.materialName = materialName;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public SearchParam(Integer pageNum, Integer pageSize, String materialCode, String materialName, int number, String status) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.materialCode = materialCode;
        this.materialName = materialName;
        this.number = number;
        this.status = status;
    }

    @Override
    public String toString() {
        return "SearchParam{" +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", materialCode='" + materialCode + '\'' +
                ", materialName='" + materialName + '\'' +
                ", number=" + number +
                ", status='" + status + '\'' +
                '}';
    }
}
